<div id="logo">
	<a href="./">
    	<img src="images/logo.gif" alt="Your Company Logo" width="318" height="85" />
    </a>
    <span id="logo-text">
        <a href="./">
            <?php echo $websitename ?>
        </a>
    </span>
</div><!-- logo -->
<div id="menu">
        <ul>
            <li><a href="index.php" <?php if($activemenu=="home") echo('"id="active""') ?> >Home</a></li>
            <li><a href="products.php" <?php if($activemenu=="products") echo('"id="active""') ?> >Products</a></li>
            <li><a href="contact.php" <?php if($activemenu=="contact") echo('"id="active""') ?> >Contact</a></li>
			<li><a href="terms.php" <?php if($activemenu=="terms") echo('id="active"') ?> >Terms</a></li>
            <li><a href="aboutus.php" <?php if($activemenu=="aboutus") echo('"id="active""') ?> >About us</a></li>
            <?php 
				if(!isset($_SESSION['username']))
				{
					echo '<li><a href="applications/admin/main.php">Log in</a></li>';
				} 
				else 
				{
					echo "<a href='applications/admin/main.php' style='color:#000'>welcome <b>".$_SESSION['username']."</a></b>" ;
				}?>
        </ul>
</div><!-- menu -->
		<!--<div id="ticker">
			Visit <a href="http://www.symisun.com/templates/">templates area</a> on our site to get the latest version of this template and more free templates.
		</div><!-- ticker --> 
		<div id="headerimage">
			<!--<div id="download"><span id="download-text"><a href="http://www.symisun.com/index.php?dl_id=1">download this amazing<br />CSS template for FREE!</a></span></div><!-- download -->
			<div id="icons">
				<a href="index.php" ><img src="images/icon_home.gif" alt="Home" width="13" height="13" id="home" /></a>
				<a href="#"><img src="images/icon_sitemap.gif" alt="Sitemap" width="13" height="13" id="sitemap" /></a>
				<a href="contact.php"><img src="images/icon_contact.gif" alt="Contact" width="13" height="13" id="contact" /></a>						
             </div><!-- icons -->
			<div id="slogan"></div>
		</div>
		<!-- headerimage -->
